package com.syx.friend.Openfegin;

import com.syx.commoncore.Model.TableDataInfoResult;
import com.syx.friend.Model.exam.DTO.ExamQueryDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
@FeignClient(name = "oj-system",path = "/exam")
public interface FeignService {

    @RequestMapping  ("/list")
    TableDataInfoResult list(ExamQueryDTO examQueryDTO);

}
